26 Jan 2019

Why?

Pre-Registration

aka specify prior to data collection




(Nosek et al. 2018)

Pre-Registration

aka specify prior to data collection

Hypotheses

Design

Data

Analyses

Dissemination

(Nosek et al. 2018)

Pre-Registration

aka specify prior to data collection

Hypotheses

Design

Data

Analyses

Dissemination

(Nosek et al. 2018)

Pre-Registration

aka specify prior to data collection

Reproducible Reporting

aka what others see how knowledge came to be

Hypotheses

Design

Data

Analyses

Dissemination

(Peng 2011)

Reproducible Reporting

aka what others see how knowledge came to be

Reproducible Reporting

aka what others see how knowledge came to be

Hypotheses

Design

Data

Analyses

Dissemination

(Peng 2011)

Reproducible Reporting

aka what others see how knowledge came to be

Hypotheses

Design

Data

Analyses

Dissemination

(Peng 2011)

Live-Streaming Knowledge Crystalization

via Dashboards

Hypotheses

Design

Data

Analyses

Dissemination


Analyses

Dissemination

How?

R Markdown

general idea

With R Markdown we can…

  • use a markup language with simple syntax
  • and interweave
    • narratives
    • data/ files
    • code
    • output
  • via knitr and pandoc into multiple different file types (.html, .pdf, .docx, pptx, …)

(Allaire et al. 2018)

Interactive Reporting

general idea

  • static reports ideal for linear storys
  • but what if we want to allow
    • data exploration (e.g. by recipients)
    • flexible (live streamed) data presentation

(Chang et al. 2018)

Flexdashboard for R



  • combindes the advantages of
  • easy-to-use templates
  • many integrated widgets
  • browser interpretable

Example!

Allaire, JJ, Yihui Xie, Jonathan McPherson, Javier Luraschi, Kevin Ushey, Aron Atkins, Hadley Wickham, Joe Cheng, Winston Chang, and Richard Iannone. 2018. Rmarkdown: Dynamic Documents for R. https://rmarkdown.rstudio.com.

Chang, Winston, Joe Cheng, JJ Allaire, Yihui Xie, and Jonathan McPherson. 2018. Shiny: Web Application Framework for R. https://CRAN.R-project.org/package=shiny.

Nosek, Brian A., Charles R. Ebersole, Alexander C. DeHaven, and David T. Mellor. 2018. “The Preregistration Revolution.” Proceedings of the National Academy of Sciences 115 (11): 2600–2606. https://doi.org/10.1073/pnas.1708274114.

Peng, Roger D. 2011. “Reproducible Research in Computational Science.” Science 334 (6060): 1226–7. https://doi.org/10.1126/science.1213847.